* {
    /*background: rgba(0, 0, 0, .1);*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: background .2s;
    -moz-transition: background .2s;
    -ms-transition: background .2s;
    -o-transition: background .2s;
    transition: background .2s;
    outline: 0;
}
body{
    background: #00334b;
    color: #fff;
}
.container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 0 10px;
}
h1 {
    margin: 0 auto;
    text-align: center;
    color: #fff;
}
.task_list{
    margin: 8px 0;
}

input,
.task-item,
button,
.task-detail-mask,
textarea,
.task-detail
{
    padding: 10px;
    border-radius: 3px;
}

input[type=text],
input[type=date],
input,
textarea{
    border: 0;
}

textarea,
input[type=text],
input[type=date]{
    display: block;
    width: 100%;
    border: 0;
    background: #eee;
   -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.3);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.3);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.3);
}

textarea:hover,
textarea:focus,
input[type=text]:hover,
input[type=date]:hover,
input[type=text]:focus,
input[type=date]:focus
{
    background: #fff;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
}

button {
    display: inline-block;
    border: 0;
    cursor: pointer;
    color: #333;
}

.add-task input[type=text] {
    float: left;
    width: 84%;
    margin-right: 1%;
}

[type=submit]{
    background-color: #799fff;
}

.add-task [type=submit] {
    background: #648aff ;
    width: 15%;
}

.task-item {
    background: #fff;
    color: #333;
    margin-bottom: 2px;
    font-size: 14px;
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .4);
    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, .4);
    box-shadow: 0 2px 3px rgba(0, 0, 0, .4);
    cursor: pointer;
    
}

.task-item.completed{
    color: #aaa;
    /*background: rgba(255,255,255,.3);*/
    opacity: .6;
}

.task-item.completed:after {
    position: relative;
    top: -8px;
    content: '';
    height: 1px;
    background: #aaa;
    width: 97%;
    /*display: block;*/
    float: right;
}

.task-item:hover{
    background: #ddd;
}

.task-content{
    padding-left: 10px;
}


/*<!--任务详情-->*/
/*<!--任务详情遮罩-->*/
.task-detail,
.task-detail-mask{
    position: absolute;
    display: none;
}

.task-detail {
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    background: #fff;
    overflow: auto;
    padding: 10px;
    border-radius: 3px 0 0 3px;
    -webkit-box-shadow: 0 1px 2px 3px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 1px 2px 3px rgba(0, 0, 0, .1);
    box-shadow: 0 1px 2px 3px rgba(0, 0, 0, .1);
}

.task-detail .content {
    padding: 10px;
    font-weight: 900;
    cursor: pointer;
    color: #666;
}

.task-detail .input_item,
.task-detail .desc
{
    margin-bottom: 10px;
}

.task-detail label{
    color: #333;
}
.task-detail-mask {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, .3);
}

.fr{
    float: right;
}

.action {
    color: #888;
    width: 80%;
}
.action:hover{
    color: #444;
}

.input_item{

}

.msg {
    display: none;
    text-align: center;
    background: #fff000;
    padding: 10px;
    color: #333;
    font-size: 20px;
}
.anchor {
    cursor: pointer;
}

.alerter{
    /*opacity:1;*/
    width: 0;
    height: 0;
}